package com.genius.reservation.order.entity;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * <p>
 * 订单信息
 * </p>
 *
 * @author baomidou
 * @since 2022-05-26
 */
@TableName("reservation_order_information")
@ApiModel(value = "OrderInformation对象", description = "订单信息")
@Data
public class OrderInformation implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("预约单号")
    private String reservationNumber;

    @ApiModelProperty("订单号")
    private String orderNumber;

    @ApiModelProperty("供应商编号")
    private String supplierNumber;
    @ApiModelProperty("供应商名称")
    private String supplierName;

//    @ApiModelProperty("品项")
//    private String gdsCount;
//    @ApiModelProperty("数量")
//    private String gdsNumber;


    /*
     * 0 未预约
     * 1 已预约
     * */
    @ApiModelProperty("状态")
    private Integer status;

    @ApiModelProperty("创建时间")
    @TableField(fill = FieldFill.INSERT)
    private String createTime;

    @ApiModelProperty("创建时间")
    @TableField(fill = FieldFill.INSERT)
    private String updateTime;


}
